<template>
    <div>
        <div class="top-menu-1">
            <div class="logo">
                <img src="@/assets/img/logo.png" alt="">
            </div>
            <div class="menu-list">
                <router-link to="/register">注册</router-link>
                <router-link to="/">登录</router-link>
            </div>
        </div>
    </div>
</template>

<script>
    export default {
        name: 'top'
    }
</script>

<style lang="scss">
    .top-menu-1 {
        height: 0.8rem;
        line-height: 0.8rem;
        background-color: #fefefe;
        .logo {
            width: 2rem;
            margin-left: 0.3rem;
            float: left;
            img {
                width: 1.2rem;
                height: 0.4rem;
                vertical-align: middle;
            }
        }
        .menu-list {
            float: right;
            a {
                color: #000;
                text-decoration: none;
                float: right;
                margin-right: 0.4rem;
                font-size: 0.28rem;
            }
            .router-link-exact-active{
                color: #e60816;
            }
            a:active{
                -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
            }
        }
    }
</style>
